package hku.cs.lunuo.voter;

import hku.cs.lunuo.rank.TFTimes;

public class VotedGlobal {
	public TFTimes totalTF;

	public VotedGlobal(TFTimes totalTF) {
		this.totalTF = totalTF;
	}

	public float getTotalFls() {
		return totalTF.getFlsTimes();
	}

	public float getTotalTru() {
		return totalTF.getTruTimes();
	}
	
	public float getFaultRatio(){
		return getTotalFls()/(getTotalFls()+getTotalTru());
	}
}
